﻿using System;
using ProjectFootball.Foundation;
using ProjectFootball.Foundation.Entities;

namespace ProjectFootball.Models.Entities.Main
{
    public class MatchEventV : BaseApprovableEntity
    {
        public Guid MatchGuid { get; set; }

        public Guid TeamGuid { get; set; }

        public Guid PersonGuid { get; set; }

        public PositionType? PositionType { get; set; }

        public MatchEventType MatchEventType { get; set; }

        public short? Minute { get; set; }

        public short? Extra { get; set; }

        #region Navigation properties
        public virtual Match Match { get; set; }
        public virtual MatchEvent MatchEvent { get; set; }
        public virtual Person Person { get; set; }
        public virtual Team Team { get; set; }
        #endregion
    }
}
